<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  * {
    margin: 0;
    padding: 0;
  }

  body {
    background-color: #ffffff;
  }

  .container {
    margin: 300px auto;
    width: 80px;
    height: 80px;
    position: relative;
  }

  .box {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }

  span {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #54b6ab;
    border-radius: 50%;
    text-align: center;
    line-height: 15px;
    animation: loading 0.8s linear infinite;
  }

  .group {
    display: flex;
    justify-content: space-between;
  }

  .container .box:nth-of-type(2) {
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    left: 0;
  }

  .c1 {
    animation-delay: -0.5s;
  }

  .c2 {
    animation-delay: -0.6s;
  }

  .c3 {
    animation-delay: -0.7s;
  }

  .c4 {
    animation-delay: -0.8s;
  }

  .c5 {
    animation-delay: -0.9s;
  }

  .c6 {
    animation-delay: -1s;
  }

  .c7 {
    animation-delay: -1.1s;
  }

  .c8 {
    animation-delay: -1.2s;
  }

  @keyframes loading {
    0% {
      transform: scale(0);
    }

    50% {
      transform: scale(1);
    }

    100% {
      transform: scale(0);
    }
  }
</style>

<body>
  <div class="container">
    <div class="box">
      <div class="group">
        <span class="c8"></span>
        <span class="c2"></span>
      </div>
      <div class="group">
        <span class="c6"></span>
        <span class="c4"></span>
      </div>
    </div>
    <div class="box">
      <div class="group">
        <span class="c1"></span>
        <span class="c3"></span>
      </div>
      <div class="group">
        <span class="c7"></span>
        <span class="c5"></span>
      </div>
    </div>
  </div>
</body>
<script>
  const appid = 'wxdc7ed0f21b5d80bf'
  const urlParams = new URLSearchParams(window.location.search);
  const familyMemberId = urlParams.get('familyMemberId');
  window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${
      appid
    }&redirect_uri=${encodeURIComponent(
      `https://zg.particlesoft.info/frontend/index.html?familyMemberId=${familyMemberId}`
    )}&response_type=code&scope=snsapi_base#wechat_redirect`
</script>

</html>